package org.colafries.admin.entity.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author colafries
 * @version v1.0
 * @ClassName ColafriesBaseVO
 * @Description
 * @date Created in 2024/3/15
 **/
@Data
@Accessors(chain = true)
public class ColafriesBaseVO {
    /**
     * 当前页码
     */
    @ApiModelProperty(name = "当前页", dataType = "Integer", required = true, example = "1")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer current;
    /**
     * 每页多少条
     */
    @ApiModelProperty(name = "每页多少条", dataType = "Integer", required = true, example = "10")
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer size;
    /**
     * 总计条数
     */
    @ApiModelProperty(name = "总条数", dataType = "Integer", required = false, example = "10", hidden = true)
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private Integer total;
}
